<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=7"/>
<title>{$ts['site']['site_name']}商户管理系统</title>
<link rel="shortcut icon" href="__PUBLIC__/Images/global/favicon.gif" />
<script type="text/javascript">
	var KURLDATA = {
			changeverify : "{:U('Index://Public/verify')}",
	};
	var quickloginpath	=	'/Index/index.php/Public/login/ajx_login/yes';
</script>
<!-- 处理ie6下png透明 -->
<!--[if lte IE 6]>
<style type="text/css">
img, div , .pngfix , dd , dt ,li ,span { behavior: url('<php>echo SITE_URL;</php>__PUBLIC__/Js/iepngfix/iepngfix.htc'); }
</style>
<script type="text/javascript" src="__PUBLIC__/Js/iepngfix/iepngfix_tilebg.js"></script>
 <script type="text/javascript">
 //<![CDATA[
 if (document.all && /MSIE (5\.5|6)/.test(navigator.userAgent) &&
  document.styleSheets && document.styleSheets[0] && document.styleSheets[0].addRule)
 {
  document.styleSheets[0].addRule('*', 'behavior: url("<php>echo SITE_URL;</php>__PUBLIC__/Js/iepngfix/iepngfix.htc")' );
 }
 //]]>
 </script>
<![endif]-->

<!-- MASTER STYLESHEET-->
<link href="__PUBLIC__/shanghu/public.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/shanghu/style.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/Css/global.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/Js/tbox/box_qq.css" rel="stylesheet" type="text/css" />
<!-- 核心JS加载 -->
<script type="text/javascript" src="__PUBLIC__/Js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/common.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/tbox/box.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/kim.base.util.js"></script>

<script type="text/javascript" src="__PUBLIC__/Js/rcalendar.js" ></script>



<script type="text/javascript" src="__PUBLIC__/Js/scrolltopcontrol.js"></script>
<!--  script type="text/javascript" src="__PUBLIC__/Js/jquery.jgrow.min.js"></script -->



<link rel="stylesheet" type="text/css" href="/Public/shanghu/js/table/css/flexigrid/flexigrid.css">
<script type="text/javascript" src="/Public/shanghu/js/table/flexigrid.js"></script>

<link type="text/css" rel="stylesheet" href="/Public/shanghu/js/visualize/visualize.jQuery.css"/>
<link type="text/css" rel="stylesheet" href="/Public/shanghu/js/visualize/custumer.css"/>
<!--[if IE]><script type="text/javascript" src="/Public/shanghu/js/excanvas.compiled.js"></script><![endif]-->
<script type="text/javascript" src="/Public/shanghu/js/visualize/visualize.jQuery.js"></script>

<script type="text/javascript" src="__PUBLIC__/Js/k_jquery_ext.js"></script>

<script src="/Public/admin/common.js" type="text/javascript"></script>

</head>

<body>


<!--  START HEADER -->
<div id="header" class="png_bg">

	<!--  START HEAD_WRAP -->
  <div id="head_wrap">
	
	<!--  START LOGO -->
    <div id="logo">
    	 <div style="color: #3C8DDF;float: right;font-size: 12px;line-height: 22px;">
	    	{$ts['site']['site_name']}商户管理系统
	    	&nbsp;&nbsp;&nbsp;&nbsp;
			<a href="{:U('shanghu://Public/logout')}" 
			 	style="color: #C90809; font-size: 12px; font-weight: bold;  
						height: 22px; line-height: 22px; margin: 5px 0 0;  padding: 0;">退出</a>
    	</div>
    	<a href="{:U('shanghu://Index/index')}">
			<img width="100" height="100" src="{:getAttachUrl($partner['brand_icon'])}" alt="Logo" 
			class="png_bg" style="border: 2px solid #B6D5F3;padding:1px">
			
		</a>
		<span style="color: #000000;
	    font-size: 20px;
	    font-weight: bold;
	    padding-left: 30px;padding-top: 10px;
	    position: absolute;">{$partner['title']}
	    <font style="color: #3C8DDF;
	    font-size: 12px;
	    font-weight: normal;
	    padding-left: 20px;">~~ {:paramMillisecond2Date($partner['ctime'],$format='Y年m月')}加入{$ts['site']['site_name']}</font>
	    </span>

	</div>
    <!--  END LOGO  -->
	
    <!--  END LOGO  -->	
	
    <!--  START NAVIGATION -->
    <!-- the class "active" is used to highlight the current/active linke -->
    <div id="nav">
    	<!--  
    	<span style="float:right;">
    		<a href="javascript:k_show( '{:U('shanghu://Index/advisory')}',null, '交流对话框' );" style="color: #C90809; font-size: 12px; font-weight: bold;  height: 22px; line-height: 22px; margin: 5px 0 0;  padding: 0;">
    			<img width="22" height="22" class="png_bg" src="/Public/shanghu/images/info_button_32.png" style="vertical-align: middle;">建议和报错</a>
    	</span>
    	-->
        <ul>
        	<php>if( in_array('Index',$nav_show_module) ){</php>
            <li>
            	<a href="{:U('shanghu://Index/index')}" class="<php>if(MODULE_NAME == 'Index'){</php>active<php>}</php> png_bg">
            		<img width="25" height="25" class="png_bg" alt="Home" src="/Public/shanghu/images/home_32.png" style="vertical-align: middle;">
            		&nbsp;首&nbsp;&nbsp;&nbsp;&nbsp;页&nbsp;</a></li>
            <php>}</php>		
            <!-- li>
            	<a href="" class="png_bg">
            		<img width="25" height="25" class="png_bg" alt="Home" src="/Public/shanghu/images/newspaper_32.png" style="vertical-align: middle;">
            		&nbsp;详&nbsp;&nbsp;&nbsp;&nbsp;情&nbsp;</a></li>
            -->		
            <php>if( in_array('Subsh',$nav_show_module) ){</php>
            <li>
            	<a href="{:U('shanghu://Subsh/index')}" class="<php>if(MODULE_NAME == 'Subsh'){</php>active<php>}</php> png_bg">
            		<img width="25" height="25" class="png_bg" alt="Stats" src="/Public/shanghu/images/venue_32.png" style="vertical-align: middle;">
            		&nbsp;位&nbsp;&nbsp;&nbsp;&nbsp;置&nbsp;</a></li>	
            <php>}</php>
            <php>if( in_array('Goods',$nav_show_module) ){</php>
            <li>
            	<a href="{:U('shanghu://Goods/index')}" class="<php>if(MODULE_NAME == 'Goods'){</php>active<php>}</php> png_bg">
            		<img width="25" height="25" class="png_bg" alt="Stats" src="/Public/shanghu/images/goods_32.png" style="vertical-align: middle;">
            		&nbsp;商&nbsp;&nbsp;&nbsp;&nbsp;品&nbsp;</a></li>
            <php>}</php>
            <php>if( in_array('Coupon',$nav_show_module) ){</php>
			 <li>
            	<a href="{:U('shanghu://Coupon/index')}" class="<php>if(MODULE_NAME == 'Coupon'){</php>active<php>}</php> png_bg">
            		<img width="25" height="25" class="png_bg" alt="Stats" src="/Public/shanghu/images/gift_32.png" style="vertical-align: middle;">
            		&nbsp;{:K('SP_COUPON_NM')}&nbsp;</a></li>
			<php>}</php>
            <php>if( in_array('Statis',$nav_show_module) ){</php>
			<li>
            	<a href="{:U('shanghu://Statis/index')}" class="<php>if(MODULE_NAME == 'Statis'){</php>active<php>}</php> png_bg">
            		<img width="25" height="25" class="png_bg" alt="Stats" src="/Public/shanghu/images/chart_32.png" style="vertical-align: middle;">
            		&nbsp;统&nbsp;&nbsp;&nbsp;&nbsp;计&nbsp;</a></li>
			<php>}</php>
            <php>if( in_array('Check',$nav_show_module) ){</php>
			<li>
            	<a href="{:U('shanghu://Check/index')}" class="<php>if(MODULE_NAME == 'Check'){</php>active<php>}</php> png_bg">
            		<img width="25" height="25" class="png_bg" alt="Stats" src="/Public/shanghu/images/shield_32.png" style="vertical-align: middle;">
            		&nbsp;验证{:K('SP_COUPON_NM')}&nbsp;</a></li>
            <php>}</php>
        </ul>
    </div> <!--  end div #nav -->
    <!--  END NAVIGATION -->
    
  </div><!--  end div #head_wrap -->
  <!--  END HEAD_WRAP -->
   
</div><!--  end div #header -->
<!--  END HEADER -->